package test;

public class Phone {
    String brand;//品牌
    double price;
    String color;
    double size;

    public void call(){
        System.out.println("能打电话");
    }
    public void sendMessage(){
        System.out.println("发信息");
    }
    public void video(){
        System.out.println("看直播");
    }

    public static void main(String[] args) {
        Phone p = new Phone();
        p.call();
        p.sendMessage();
        p.video();

        System.out.println(p.color);
        System.out.println(p.size);
    }
}
